package com.sleep.psy.external_server.business.adjustment.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author wenliguo
 * @date 2025年06月09日 11:22
 */
@ApiModel("生成调节方案")
@Data
public class GenerateSleepPlanReq {

    @ApiModelProperty(notes = "用户id",required = true)
    @NotNull(message = "用户id不能为空")
    public Long userId;

    @ApiModelProperty(notes = "测评记录id不能为空",required = false)
    //@NotNull(message = "测评记录id不能为空")
    public Long recordId;

    @ApiModelProperty(notes = "方案id",required = false)
    public Integer schemeId;
}
